package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.UserInfoPo;
import com.abel.quiz.po.UserInfoPoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:03
* @description
*/
public interface UserInfoPoDao extends BaseDao<UserInfoPo, UserInfoPoCriteria>{

    int countByExample(UserInfoPoCriteria example);
    
    int deleteByExample(UserInfoPoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(UserInfoPo record);
    
    int insertSelective(UserInfoPo record);
    
    List<UserInfoPo> selectByExample(UserInfoPoCriteria example);

    UserInfoPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserInfoPo record, @Param("example") UserInfoPoCriteria example);

    int updateByExample(@Param("record") UserInfoPo record, @Param("example") UserInfoPoCriteria example);

    int updateByPrimaryKeySelective(UserInfoPo record);

    int updateByPrimaryKey(UserInfoPo record);
}